FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER wangcheng

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /jeecg-cloud-server

WORKDIR /jeecg-cloud-server

EXPOSE 9001

ADD ./target/SalaryManagementSystem-1.1.1.jar ./

CMD sleep 1;java -Dfile.encoding=utf-8 -Djava.security.egd=file:/dev/./urandom -jar SalaryManagementSystem-1.1.1.jar